<?php
$dbUser = "SYSTEM";
$dbPass = "root";
$dbDatabase = "orcl";
$dbHost = "127.0.0.1";
//----------CONEXION OCI
//$conn = oci_connect($dbUser,$dbPass , $dbHost."/".$dbDatabase);
$conn = oci_connect("/",$dbPass, null, null, OCI_SYSDBA);
If (!$conn)
{ die("<strong>Error:</strong> Could not connect to database.");
    echo "Failed to connect to Oracle";
}
else
{   ini_set("default_mimetype", "text/html");
    ini_set("default_charset", "utf-8");
    //echo "Succesfully connected with Oracle DB :-)";
}
//oci_close($conn);
    //$conn->mb_internal_encoding("UTF-8");
    //$conn->set_charset("utf8");
    
